package com.easy.dfc.entity;

import java.math.BigDecimal;
import java.util.Date;

public class ParaFactoryProducts {
    private Integer typeId;
    private Integer catId;
    private Integer pageIndex;
    private Integer pageSize;

    public ParaFactoryProducts(){
        pageIndex = 0;
        pageSize = 15;
    }

    public Integer getCatId() {
        return catId;
    }

    public void setCatId(Integer catId) {
        this.catId = catId;
    }

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getLimitIndex() {

        return this.pageSize * this.getPageIndex();
    }
    public Integer getLimitSize() {
        return pageSize;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }
}